
<template>
  <div class="card-content">
    <div class="title">{{ title }}</div>
    <slot></slot>
  </div>
</template>

<script>
export default {
  name: 'Cards',
  data() {
    return {}
  },
  props: {
    title: {
      type: String,
      default: ''
    }
  }
}
</script>

<style lang="scss" scoped>
.card-content {
  padding: 12px 16px;
  height: 300px;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 2px;
  .title {
    font-size: 16px;
    font-family: PingFang SC, PingFang SC-Medium;
    font-weight: 500;
    text-align: left;
    color: #333333;
    line-height: 24px;
  }
}
</style>
